MatrixPower
MatrixPower[m,n] gives the nth matrix power of the matrix m.
MatrixPower[m,n,v] gives the nth matrix power of the matrix m applied to the vector v.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.